<template>
    <div class="page">
        <div>{{ count }}</div>
        <button @click="hdlAdd">add</button>
        <van-button type="primary">主要按钮</van-button>
    </div>
</template>

<script setup lang="ts">
    const count = ref(0);
    const hdlAdd = () => {
        count.value++;
    };
</script>

<style lang="scss" scoped src="./Index.scss"></style>
